package com.jic.interaction.ChinaPost.service;


import com.jic.interaction.ChinaPost.model.entity.CommonWeBankResponse;
import com.jic.interaction.ChinaPost.model.vo.request.DamagesPayRequest;
import com.jic.interaction.ChinaPost.model.vo.request.MemberInfoRequest;
import com.jic.interaction.ChinaPost.model.vo.request.QueryUserInfoRequest;
import com.jic.interaction.ChinaPost.model.vo.request.SelectPaymentRequest;
import com.jic.interaction.ChinaPost.model.vo.response.SelectPaymentResponse;
import com.jic.interaction.ChinaPost.model.vo.response.UserInfoResponse;

import java.io.IOException;
import java.util.concurrent.ExecutionException;

public interface MemberService {
    Long save(MemberInfoRequest request) throws InterruptedException, ExecutionException, IOException;

    Long update(MemberInfoRequest request) throws InterruptedException, ExecutionException, IOException;

    /**
     * @Author: Puxigui
     * @param: queryUserInfoRequest 用户信息
     * @Description:  查询用户信息接口
     * @Date: 16:55 2020/11/24
    */
    UserInfoResponse queryUserInfoById(QueryUserInfoRequest queryUserInfoRequest);

    /**
     * @Author: Puxigui
     * @param: damagesPayRequest 支付信息
     * @Description:  赔偿金支付接口
     * @Date: 16:55 2020/11/24
     */
    CommonWeBankResponse userAddPayInfo(DamagesPayRequest damagesPayRequest);

    /**
     * @Author: Puxigui
     * @param: selectPaymentRequest 支付查询信息
     * @Description:  赔偿金支付查询接口
     * @Date: 16:55 2020/11/24
     */
    SelectPaymentResponse userAddPayInfoByOrderNo(SelectPaymentRequest selectPaymentRequest);
}
